<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>头部</title>
    <link rel="stylesheet" href="../common.css">
</head>
<style>
    .center {
        width: 1090px;
        height: 30px;
        margin: 100px auto;
        position: relative;
    }
    .center ul li {
        width: 108px;
        height: 30px;
        line-height: 30px;
        float: left;
    }
    .center ul li:first-child {
        width: 54px;
    }
    .center ul li div {
        position: absolute;
        width: 1090px;
        height: 500px;
        border: 1px solid #333;
        display: none;
        left: 0;
    }
    .center ul li:hover div{
        display: block;
    }
</style>
<body>
    <div class="wrap">
        <div class="center">
            <ul>
                <li>
                    <span>首页</span>
                    <div>1</div>
                </li>
                <li>
                    <span>居家生活</span>
                    <div>2</div>
                </li>
                <li>
                    <span>服饰鞋包</span>
                    <div>3</div>
                </li>
                <li>
                    <span>美食酒水</span>
                    <div>4</div>
                </li>
                <li>
                    <span>个人清洁</span>
                    <div>5</div>
                </li>
            </ul>
        </div>
    </div>
</body>
</html>